﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CJJCH.Model
{
    public class T_PRD_Book
    {
        public T_PRD_Book()
        { }
        #region Model
        private Guid _id;
        private int _booktypeid;
        private int _bookstateid;
        private string _bookname;
        private string _bookimage;
        private string _bookfile;
        private string _booksize;
        private string _bookpage;
        private string _bookauthor;
        private string _booktrans;
        private string _publishcom;
        private DateTime? _pubishdate;
        private DateTime? _rundate;
        private string _bookisbn;
        private decimal _bookprice;
        private string _bookdirectory;
        private string _booknote;
        private int _hits;
        private bool _ishot;
        private bool _isvalid;
        private Guid _managerid;
        private DateTime _builddate;       
        private int _pid;
        private int _evcon;

        public int Evcon
        {
            get { return _evcon; }
            set { _evcon = value; }
        }

        public int Pid
        {
            get { return _pid; }
            set { _pid = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public Guid ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int BookTypeID
        {
            set { _booktypeid = value; }
            get { return _booktypeid; }
        }
        /// <summary>
        /// 1：出售中，2：仓库中，3：预订中
        /// </summary>
        public int BookStateID
        {
            set { _bookstateid = value; }
            get { return _bookstateid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookName
        {
            set { _bookname = value; }
            get { return _bookname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookImage
        {
            set { _bookimage = value; }
            get { return _bookimage; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookFile
        {
            set { _bookfile = value; }
            get { return _bookfile; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookSize
        {
            set { _booksize = value; }
            get { return _booksize; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookPage
        {
            set { _bookpage = value; }
            get { return _bookpage; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookAuthor
        {
            set { _bookauthor = value; }
            get { return _bookauthor; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookTrans
        {
            set { _booktrans = value; }
            get { return _booktrans; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PublishCom
        {
            set { _publishcom = value; }
            get { return _publishcom; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? PubishDate
        {
            set { _pubishdate = value; }
            get { return _pubishdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? RunDate
        {
            set { _rundate = value; }
            get { return _rundate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookISBN
        {
            set { _bookisbn = value; }
            get { return _bookisbn; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal BookPrice
        {
            set { _bookprice = value; }
            get { return _bookprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookDirectory
        {
            set { _bookdirectory = value; }
            get { return _bookdirectory; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BookNote
        {
            set { _booknote = value; }
            get { return _booknote; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Hits
        {
            set { _hits = value; }
            get { return _hits; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsHot
        {
            set { _ishot = value; }
            get { return _ishot; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsValid
        {
            set { _isvalid = value; }
            get { return _isvalid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ManagerID
        {
            set { _managerid = value; }
            get { return _managerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BuildDate
        {
            set { _builddate = value; }
            get { return _builddate; }
        }
        #endregion Model
    }
}
